Skip to content

build(deps): require iohub>=0.4.1, pin waveorder 0e25b9b, fix uv lock --upgrade - #473

Merged
ieivanov merged 2 commits into
mainfrom
build/iohub-0.4.1-waveorder-0e25b9b
Nov 16, 2026
Merged

ieivanov merged 2 commits into
mainfrom
build/iohub-0.4.1-waveorder-0e25b9b

Conversation

@ieivanov

@ieivanov ieivanov commented Nov 16, 2026 •

Copy link
Copy Markdown
Collaborator

Fixes the uv lock --upgrade failure that has broken the weekly lock refresh since #427 (runs on 11-02, 11-09 and 11-16). Also moves iohub from a git pin to iohub>=0.4.1 and pins waveorder to 0e25b9b.

Why uv lock --upgrade failed

error: No solution found when resolving dependencies for split (markers: python_full_version >= '3.14' and sys_platform == 'win32')
  cause: Because hoct>=0.3.0 depends on gurobipy>12.0.1,<13.0.0 and ultrack==0.7.3 depends on gurobipy{python_full_version >= '3.14'}>=13, ...

The [tool.uv] constraint gurobipy>=13; python_version >= '3.14' makes uv split the resolution on Python 3.14 only when it reaches ultrack. By then it has already queued hoct; python_version < '3.14', and the 3.14 split keeps it, along with HOCT's gurobipy<13. A plain uv lock kept working because it reuses the splits saved in uv.lock. --upgrade discards them, and so does a fresh lock.

The fix declares the gurobipy split in the track extra, beside hoct, and drops the constraint:

"gurobipy>12.0.1,<13; python_version < '3.14'",
"gurobipy>=13,<14; python_version >= '3.14'",

This doesn't change what gets installed: ultrack already requires gurobipy, and HOCT already caps it below 13 on Python < 3.14. The <14 on 3.14 holds gurobipy at 13.x because Gurobi licences are tied to the major version, and 14.0.0 (released 11-10) would need a v14 licence.

iohub and waveorder

  • iohub >=0.4.1 from PyPI replaces the c9c85b9 git pin. v0.4.0 is c9c85b9 exactly, and v0.4.1 adds only build(deps): clear 59 Dependabot alerts by requiring pillow>=13 and bumping locked deps iohub#500 (pillow>=13), so the iohub API biahub uses is unchanged.
  • waveorder 8d79650 → 0e25b9b (8 commits). The library changes are the click → typer CLI refactor (#580), #593 (iohub>=0.4.1, which also drops waveorder's own iohub git pin) and #595 (apply-inv-tf runs on the config's device).
    • biahub imports compute_transfer_function_cli, apply_inverse_transfer_function_single_position, get_reconstruction_*, estimate_resources and ReconstructionSettings. All of these exist at the new rev with the same signatures, and nothing in biahub calls the waveorder CLI.
    • #595: device defaults to null (CPU), and none of our reconstruction configs set it, so reconstruction keeps running on the CPU.
  • With waveorder's iohub git pin gone, the override-dependencies iohub entry is removed too.

Lockfile

uv lock --upgrade resolves 366 packages and changes 107. Notable bumps:

Package Old New
torch 2.14.1 2.15.0
napari 0.9.2 0.10.0
ome-zarr 0.18.0 0.21.0
pandas 3.1.0 3.1.1
zensical 0.0.72 0.1.1
CUDA 13 wheels 13.0 13.2

gurobipy doesn't change: 12.0.3 on Python < 3.14 and 13.0.3 on 3.14.

Unrelated warning, also on main: trackastra==0.5.6 does not have an extra named ilp. 0.5.6 makes motile and ilpy regular dependencies, so trackastra[ilp] is a no-op.

Testing

  • uv lock --upgrade succeeds, and a fresh uv lock with no uv.lock gives the same lock. uv lock --check passes.
  • In the new lock, HOCT is locked only for Python < 3.14, with gurobipy 12.0.3. Python ≥ 3.14 gets gurobipy 13.0.3.
  • uv sync --locked --group dev + pytest on Python 3.12 (Bruno, gpu-sm02-10): 739 passed, 13 skipped, 0 failed. Python 3.13 hasn't been run locally; CI covers it.
  • Not yet run: a pipeline run through reconstruct with the new waveorder.

🤖 Generated with Claude Code

ieivanov and others added 2 commits November 16, 2026 12:02
… --upgrade

`uv lock --upgrade` has failed since #427 added HOCT (the weekly refresh job
on 11-02, 11-09 and 11-16). From the [tool.uv] gurobipy constraint, uv splits
the resolution on Python 3.14 only when it reaches ultrack, after it has
queued hoct, and then keeps hoct's gurobipy<13 in the 3.14 split. A plain
`uv lock` still worked because it reuses the splits saved in uv.lock. Declare
the gurobipy split in the track extra beside hoct and drop the constraint.

iohub v0.4.0 is c9c85b9 exactly and v0.4.1 adds only pillow>=13, so the git
pin becomes a PyPI floor. waveorder 0e25b9b (Biohub/waveorder#595) requires
iohub>=0.4.1 and no longer pins iohub by git (#593), so the iohub override
goes too.

uv.lock is re-resolved with --upgrade.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Gurobi licences are tied to the major version; gurobipy 14.0.0 (2026-11-10)
would need a v14 licence. The 3.14 split goes back to 13.0.3; nothing else in
the lock moves.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ieivanov
ieivanov marked this pull request as ready for review November 16, 2026 20:57
@ieivanov
ieivanov merged commit 1c0c01a into main Nov 16, 2026
10 checks passed
@ieivanov
ieivanov deleted the build/iohub-0.4.1-waveorder-0e25b9b branch November 16, 2026 22:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants